<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title><@spring.message '导出' /></title>
<#include "/admin/main/include/link_head.ftl"/>
</head>
<body style='background: url("<@spring.url '/resources/images/loading.gif' />") top center #f7f7f7 no-repeat;'>
<form id="exprotForm" action="<@spring.url '/admin/export.do' />" method="post" target="_self">
    <input type="hidden" name="data" id="data" value=""/>
    <input type="hidden" name="fields" value="${fields}"/>
    <input type="hidden" name="options" value='${options}'/>
</form>
</body>
</html>
<#include "/admin/main/include/link_foot.ftl"/>
<script type="text/javascript">
    var param = ${data};
    param.page = 1;
    param.rows = 1000000;
    $.post("${url}", param, function (data) {
        $("#data").val(data);
        $("#exprotForm").submit();
    });
</script>